package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.RechargeOption;
import com.tf8.treasure.entity.RechargeOptionExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

@Mapper
public interface RechargeOptionMapper {
    int countByExample(RechargeOptionExample example);

    int deleteByExample(RechargeOptionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RechargeOption record);

    int insertSelective(RechargeOption record);

    List<RechargeOption> selectByExample(RechargeOptionExample example);

    RechargeOption selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RechargeOption record, @Param("example") RechargeOptionExample example);

    int updateByExample(@Param("record") RechargeOption record, @Param("example") RechargeOptionExample example);

    int updateByPrimaryKeySelective(RechargeOption record);

    int updateByPrimaryKey(RechargeOption record);

    List<RechargeOption> selectPageByExample(@Param("example") RechargeOptionExample example, @Param("pageable") Pageable pageable);
}